<div class="dialog-body">
    <ul class="dialog-body-ul">
        <li class="dialog-body-li">
            <div class="dialog-body-item max_item">
                <div class="dialog-label">选择字段</div>
                <div class="dialog-content">
                    <ui-select ng-model="ngDialogData.dropDownDefault.conditionType" on-select="pycTypeDropChang($item)">
                        <ui-select-match>
                            <span ng-bind="$select.selected.name"></span>
                        </ui-select-match>
                        <ui-select-choices repeat="conditionType in (ngDialogData.conditionTypeDropDown | filter: $select.search) track by conditionType.value">
                            <span ng-bind="conditionType.name"></span>
                        </ui-select-choices>
                        <ui-select-no-choice>
                            没有加载到数据
                        </ui-select-no-choice>
                    </ui-select>
                </div>
            </div>
        </li>
        <li class="dialog-body-li">
            <div class="dialog-body-item max_item">
                <div class="dialog-label">运算符</div>
                <div class="dialog-content">
                    <ui-select ng-model="ngDialogData.dropDownDefault.operator">
                        <ui-select-match>
                            <span ng-bind="$select.selected.name" ></span>
                        </ui-select-match>
                        <ui-select-choices repeat="operator in (ngDialogData.strategyOperatorDropDown | filter: $select.search) track by operator.value">
                            <span ng-bind="operator.name"></span>
                        </ui-select-choices>
                        <ui-select-no-choice>
                            没有加载到数据
                        </ui-select-no-choice>
                    </ui-select>
                </div>
            </div>
        </li>
        <li class="dialog-body-li">
            <div class="dialog-body-item max_item">
                <div class="dialog-label">值</div>
                <div class="dialog-content" ng-if="ngDialogData.dropDownDefault.conditionType.value == constant.strategyConditionType.shipper">
                    <ui-select ng-model="ngDialogData.dropDownDefault.conditionValue">
                        <ui-select-match>
                            <span ng-bind="$select.selected.customerId.name" ></span>
                        </ui-select-match>
                        <ui-select-choices repeat="conditionValue in (ngDialogData.conditionValueDropDown | filter: $select.search)">
                            <span ng-bind="conditionValue.customerId.name"></span>
                        </ui-select-choices>
                        <ui-select-no-choice>
                            没有加载到数据
                        </ui-select-no-choice>
                    </ui-select>
                </div>
                <div class="dialog-content" ng-if="ngDialogData.dropDownDefault.conditionType.value == constant.strategyConditionType.vehicle">
                    <ui-select ng-model="ngDialogData.dropDownDefault.conditionValue">
                        <ui-select-match>
                            <span ng-bind="$select.selected.name" ></span>
                        </ui-select-match>
                        <ui-select-choices repeat="conditionValue in (ngDialogData.conditionValueDropDown | filter: $select.search)">
                            <span ng-bind="conditionValue.name"></span>
                        </ui-select-choices>
                        <ui-select-no-choice>
                            没有加载到数据
                        </ui-select-no-choice>
                    </ui-select>
                </div>
            </div>
        </li>
    </ul>
</div>

<div class="dialog-toolbar">
    <button class="layui-btn" ng-click="saveConditionClick()">保存</button>
    <button class="layui-btn" ng-click="closeThisDialog()">取消</button>
</div>